package com.yuyou.weixin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.yuyou.weixin.entity.SrsUser;

@Mapper
public interface SrsUserMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(SrsUser record);

    SrsUser selectByPrimaryKey(Long userId);
    
    List<SrsUser> findImgByActivityId(Long srsActivityId);
    
    SrsUser selectByOpenId(@Param(value = "openId")String openId,@Param(value = "projectCode")String projectCode);
    
    int updateByPrimaryKeySelective(SrsUser record);
}